package com.learn.eduadboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.learn.eduapi.entity.ad.PromotionSpace;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface PromotionSpaceDao extends BaseMapper<PromotionSpace> {
List<PromotionSpace> getAllPromotionSpace(@Param("find")String find,@Param("page")Integer page,@Param("size")Integer size);
    PromotionSpace selectBy(String name,String spaceKey);
}
